<h1>New weblog</h1>

<%= error_messages_for :weblog %>

<% form_for(:weblog, :url => weblogs_path) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Description</b><br />
    <%= f.text_field :description %>
  </p>

  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', weblogs_path %>
